package com.fourfaith.iot.beidou.utils;

import com.fourfaith.common.utils.SpringBeanUtils;
import com.fourfaith.iot.beidou.listener.BeiDouListenerImpl;
import org.springframework.context.annotation.Configuration;

/**
 * @Name SpringBeanManager
 * @Description ${}
 * @Author shiyunan
 * @Create 2022/3/24 12:51
 */
@Configuration
public class SpringBeanManager {

    public static BeiDouListenerImpl getBeiDouListener() {
        return SpringBeanUtils.getApplicationContext().getBean(BeiDouListenerImpl.class);
    }
}
